package com.swss.test;

public class Singleton {
	private Singleton() {
	}

	private static Singleton instance = new Singleton();

	public static synchronized Singleton getInstance() {
		return instance;
	}
	
	public void rest(){
		System.out.println("sleep");
	}
	
	
}